*#Table 1 Column 1:

ologit violent2 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0

*#Table 1 Column 2:
ologit violent2 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Table 2 Column 1 & 2:
mlogit ord_violent3 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0

*#Table 2 Column 3 & 4: 
mlogit ord_violent logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Figure 1
mlogit ord_violent3 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0

margins, predict(outcome(2)) at(gwfmilitary2rival1b=(0(0.25)1)), if gwfmilitary2==1 
marginsplot, title(Effect of External Threats on Violent Breakdown) subtitle(Military Regimes 1945-2010) xtitle(Proportion of regime duration in rivalry) ytitle(Prob of violent breakdown)

*#Table 3 Column 1 & 2
mlogit ord_howend logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Appendix Table 1 Column 1
ologit violent2 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1a cold_war gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0

*#Appendix Table 1 Column 2
ologit violent2 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1a cold_war intergwfmilitary2 intergwfparty2 gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Appendix Table 2 Column 1 & Column 2
mlogit ord_violent3 logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmil gwfparty2 gwfduration culpable rival1b cold_war intergwfmil1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0

*#Appendix Table 2 Column 3 & Column 4
mlogit ord_violent logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmil gwfparty2 gwfduration culpable rival1b cold_war intergwfmil1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Appendix Table 3 Column 1 & 2
mlogit ord_howend logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmil gwfparty2 gwfduration culpable rival1b cold_war intergwfmil1b gwfparty2rival1b gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Appendix Table 4 
mlogit ord_violent logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b civwar gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0


*#Appendix Table 5
mlogit ord_howend logpwt7rgdpch pwt7rgdpchch logpwt7pop alliance gwfmilitary2 gwfparty2 gwfduration culpable rival1b cold_war gwfmilitary2rival1b gwfparty2rival1b civwar gwfsamerica gwfmeast gwfnafrica europe gwfcacar gwfeasia gwfcasia time2 time3, robust cluster(gwfcountry), if for_imp==0
